#include("/manage/_common/_layout.html")
#@layout()

### ********************************* 定义页面标题
#define title()
指派角色
#end

### ********************************* css导入
#define import_css()
#end

### ********************************* js导入
#define import_js()
#end

### ********************************* Body内容区开始
#define main()
<div class="layui-form">
	<blockquote class="layui-elem-quote">当前管理员：#(admin.name)</blockquote>
	<input type="hidden" name="adminRole.id" value="#(adminRole.id)">
	<input type="hidden" name="adminRole.adminId" value="#(admin.id)">
	<input type="hidden" name="adminRole.roleIds" id="ID_role_ids" value="#(adminRole.roleIds)">
	<table class="layui-table"
		lay-data="{height: 'full-92', cellMinWidth: 60,url:'#(ctx)/manage/admin/ajaxGetAdminRole?id=#(admin.id)', id:'ID_role_table'}"
		lay-filter="LAY-role-table">
		<thead>
			<tr>
				<th lay-data="{type: 'checkbox', fixed: 'left'}"></th>
				<th lay-data="{field:'id', width:60, sort: true}">ID</th>
				<th lay-data="{field:'name', width:200, sort: true}">角色名</th>
				<th lay-data="{field:'remark', width:357, sort: true}">描述</th>
			</tr>
		</thead>
	</table>
	<div class="layui-form-item layui-hide">
		<div class="layui-input-block">
			<button class="layui-btn" lay-submit="" id="LAY-front-submit" lay-filter="LAY-front-submit">立即提交</button>
		</div>
	</div>
</div>
#end
### ********************************* Body内容区结束


### ********************************* 脚本区开始
#define script()
#include("_assignRole_script.html")
#end
### ********************************* 脚本区结束
